
from django.conf.urls import url
from django.contrib import admin
from . import views

urlpatterns = [
    url(r'^qq/login/$',views.QQLoginView.as_view()),
    #授权路由
    url(r'^oauth_callback/$', views.QQAuthUserView.as_view()),

    url(r'^sina/login/$', views.OAuthSinaURLView.as_view()),#微博登陆
    #授权路由
    url(r'^sina_callback/$', views.SinaAuthUserView.as_view()),
]